@import "./mixins.scss";

:root {
    font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color-scheme: light dark;
    color: rgba(255, 255, 255, 0.87);
    background-color: #242424;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --nut-navbar-height:46px;
    --nut-searchbar-background:#1c1c1c;
    --nut-searchbar-input-background:#494949;
    --nut-navbar-box-shadow:none;
    -–nut-navbar-box-shadow: 0 1px 7px 0 rgb(133, 133, 135);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    --nut-navbar-margin-bottom: 0;
    --nut-collapse-wrapper-content-padding: 0px;
    --nut-collapse-item-padding: 10px 20px 10px 20px;
    --nut-divider-text-color: #eee;
    --nut-menu-bar-line-height: 35px;
    --nut-collapse-wrapper-content-background-color: #f4f5f6;
    --nut-cell-padding: 9px 20px;
    --nut-primary-color: #4874C0;
    --nut-primary-color-end: #8aafed;
    --nut-primary-link-color: #415CA0;
    --nut-cell-color: #606266;
    --nut-cell-desc-color: #000000;
    --nut-black: #444;
    --nut-button-error-background-color: #fea83f;
    --nut-tabs-titles-background-color:#1c1c1c;
    --nut-tabs-titles-item-color:#fff;
    --nut-tabs-titles-item-active-color:#fff;
    --nut-tabs-horizontal-tab-line-color:#e222ff;
    --nut-tabs-horizontal-titles-item-active-line-width:55px;
    --nut-tabs-horizontal-titles-item-min-width:90px;
    --nut-pagination-font-size:8px;
    .nut-checkbox__icon--disable {
        color: #606266;
        font-size: var(--nut-checkbox-icon-font-size, 18px);
    }
}

*{
    box-sizing: border-box;
}

p{
    margin: 0;
}
h1,h2,h3,h4,h5,h6{
    margin: 0;
}

a {
    font-weight: 500;
    color: #646cff;
    text-decoration: inherit;
}

a:hover {
    color: #535bf2;
}

body {
    margin: 0;
    display: flex;
    // place-items: center;
    min-width: 320px;
    min-height: 100vh;
    color: #333;
    background-color: #1c1c1c;
}

h1 {
    font-size: 3.2em;
    line-height: 1.1;
}

button {
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 0.6em 1.2em;
    font-size: 1em;
    font-weight: 500;
    font-family: inherit;
    background-color: #1a1a1a;
    cursor: pointer;
    transition: border-color 0.25s;
}

button:hover {
    border-color: #646cff;
}

button:focus,
button:focus-visible {
    outline: 4px auto -webkit-focus-ring-color;
}

.card {
    padding: 2em;
}

.blockTitle {
    padding-left: 20px;
    margin-top: 0;
    margin-bottom: 5px;
    color: #fff;
}

body,
html {
    width: 100%;
    scroll-behavior: smooth;

    #app {
        width: 100%;
        max-width: 900px;
        height: 100%;
        margin: 0 auto;
    }

}


@media (prefers-color-scheme: light) {
    :root {
        color: #213547;
        background-color: #ffffff;
    }

    a:hover {
        color: #747bff;
    }

    button {
        background-color: #f9f9f9;
    }
}

.clearfix:after {
    content: ' ';
    display: block;
    clear: both;
    height: 0;
    font-size: 0;
    overflow: hidden
}

.linkTxt {
    color: var(--nut-primary-link-color, #FF8E36);
}

.flex {
    display: flex;
}


.fullScreen {
    width: 100% !important;
}

.previewPopup {
    width: 100% !important;

    .nut-popup__close-icon {
        background-color: var(--nut-primary-color, #fff);
        color: #fff;
        top: 30px;
    }
}

.fade-enter-active,
.fade-leave-active {
    transition: transform 0.2s;
}

.fade-enter,
.fade-leave-to {
    transform: translateX(100%);
}

.nut-textarea__textarea {
    margin-bottom: 30px !important;
    height: 170px;
}
.nut-searchbar__input-bar{
    color: #333;
}


.recordEnd {
    box-sizing: border-box;
    width: 100%;
    padding-left: 50px;
    margin-bottom: 15px;
}

.auditRecordlist {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100% - 20px);
    padding-bottom: 50px;
    background-color: #fff;
    padding-top: 20px;
    padding-right: 30px;
}

.loading-wrapper {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;

    .loading-spinner {
        position: absolute;
        
        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        .loading-text {
            color: #f8912d;
            text-align: center;
            margin: 0;
        }
    }
}

.nut-swiper-pagination i.active{
    background-color: #fff !important;
}


.nut-pagination-prev, .nut-pagination-next{
    width: 50px !important;
    height: 16px !important;
    line-height: 16px;
    background: transparent !important;
    color: #fff !important;
    margin-right: 5px;
}

.nut-pagination-prev.disabled{
    border: 1px solid #8a8a8a !important;
}

.nut-pagination-prev{
    border-right:1px solid #fff !important;
}
.nut-pagination-item{
    width: 26px !important;
    height: 16px !important;
    line-height: 16px;
    margin-right: 5px;
    border: solid 1px #8a8a8a !important;
    background: transparent !important;
    color: #fff !important;
    &.active{
        background-color: #8a8a8a !important;
        font-weight: bold;
    }
}
